package net.uman.web.front;

import java.util.ArrayList;
import java.util.List;

import org.apache.struts2.convention.annotation.Namespace;
import org.springframework.beans.factory.annotation.Autowired;

import net.uman.entity.Bbsplate;
import net.uman.entity.PlateUserRelations;
import net.uman.entity.User;
import net.uman.framework.modules.security.springsecurity.SpringSecurityUtils;
import net.uman.framework.modules.web.struts2.Struts2Utils;
import net.uman.service.BbsplateManager;
import net.uman.web.CrudActionSupport;

@Namespace("/front")
public class FrontBbsAction extends CrudActionSupport<Bbsplate>{
	private static final long serialVersionUID = 1L;
	public List<Bbsplate> bbsPlateList = new ArrayList<Bbsplate>();
	@Autowired
	private BbsplateManager bbsplateManager;
	public String bbsplateList(){
		bbsPlateList = bbsplateManager.getAllFrontPlates();
		return "list";
	}

	public Bbsplate getModel() {
		return null;
	}

	@Override
	public String list() throws Exception {
		return null;
	}

	@Override
	public String input() throws Exception {
		return null;
	}

	@Override
	public String save() throws Exception {
		return null;
	}

	@Override
	public String delete() throws Exception {
		return null;
	}

	@Override
	protected void prepareModel() throws Exception {
	}

}
